package com.building18.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder

/**
 * 封装分页数据
 */
public class MyPageData<T> {
 private Long total;
 private List<T> data;

}
